<@page.html title="卡种设置">
  <div class="search">
    <form id="fm_query" action="_list" onsubmit="return false;">
      <dl>
        <dt style="min-width:40px;">名称</dt>
        <dd><input type="text" name="name" value="" size="16"></dd>
        <dt style="min-width:35px;">大类</dt>
        <dd><select name="typeId"><option value="">全部</option><#if cardClass??><#list cardClass as t><option value="${t.id}">${t.name}</option></#list></#if></select></dd>
        <dt style="min-width:35px;">状态</dt>
        <dd><select name="status"><option value="">全部</option><option value="1">有效</option><option value="2">无效</option></select></dd>
        <dd><label><input type="checkbox" name="promotion" value="1">营销活动</label></dd>
      </dl>
      <dl>
        <dt>通店区域</dt>
        <dd><select name="manyShop" style="width:250px;"><option value=""></option><#if cardArea??><#list cardArea as t><option value="${t.id}">${t.id} - ${t.name}</option></#list></#if></select></dd>
        <dd class="button"><input type="button" value="查询" onclick="query();"></dd>
        <#if canExpt??><dd class="button"><input type="button" value="导出" onclick="expt();"></dd></#if>
        <dd class="oper"><#if canAdd??><a class="add" href="javascript:open('add');">新增</a></#if></dd>
      </dl>
    </form>
  </div>
  <div id="div_list"></div>
<script type="text/javascript">query();</script>
</@page.html>